package com.abcd1234.zkPerf;

public class Main {
    public static void main(String[] args) {
        int num_of_zkClients = 50;

        String zkHost = "localhost:2181";
        while (num_of_zkClients-- != 0) {
            String id = String.format("/0x%06d", num_of_zkClients);
            try {
                new Thread(
                        new ZkClient(zkHost, id)
                ).start();
            } catch (Exception e) {
                e.printStackTrace();
            }
        }
    }
}
